package com.ruicar.afs.cloud.bizcommon.rules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.bizcommon.enums.rules.AtomLocation;
import lombok.Data;

@TableName("afs_rule_express_atom")
@Data
public class AfsRuleExpressAtom {
    @TableId(type = IdType.INPUT)
    private Long id;
    /**
     * 规则ID
     */
    private Long ruleId;
    /**
     * 表达式ID
     */
    private Long expressId;
    /**
     * 原子位置;left-左，right-右
     */
    private AtomLocation atomLocation;
    /**
     * atom配置信息
     */
    private String atomInfo;
}
